-- card: 21196 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 3426 -- name: Climb a pecan tree ----- HyperTalk script ----- on openCard global score subtract 5 from score if score <= 0 then visual effect scroll up go card "end" end if put score into field "scorebox" end openCard on mouseUp get field "textarea" of card "Communal Hut" put it&return&"What a view" into field "textarea" of card "Communal Hut" get field "textarea" of card "Communal Hut" put it&return&"Vines for swinging" into field "textarea" of card "Communal Hut" get field "textarea" of card "Communal Hut" put it into holder put the number of lines in field "textarea" of card "Communal Hut" into counter repeat until counter = 0 get line counter of holder if it contains "Movement in the branches" then delete line counter of field "textarea" of card "Communal Hut" put 1 into counter end if subtract 1 from counter end repeat get field "textarea" of card "Communal Hut" put it into holder put the number of lines in field "textarea" of card "Communal Hut" into counter repeat until counter = 0 get line counter of holder if it contains "The prized golden parrot" then delete line counter of field "textarea" of card "Communal Hut" put 1 into counter end if subtract 1 from counter end repeat visual effect dissolve go to card "Communal Hut" end mouseUp -- part contents for background part 1 ----- text ----- Climb a pecan tree -- part contents for background part 2 ----- text ----- You climb the largest tree in the center of the sacred wood. You are high above the forest floor when you spot your prize in a nearby tree. -- part contents for background part 5 ----- text ----- 225